<!-- @author AutoCode 1129290218@qq.com -->
<!DOCTYPE html>
<html >
<head>
	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

	
	<!-- GLOBAL ASSETS -->
	<link rel="stylesheet" href="../css/bootstrap/3.1.0/bootstrap.min.css" type="text/css"/>
	<link rel="stylesheet" href="../css/animate.css" type="text/css"/>
	<link rel="stylesheet" href="../css/font-awesome.min.css" type="text/css"/>
	<link rel="stylesheet" href="../css/apps.css" type="text/css"/>
	<link rel="stylesheet" href="../css/fuelux.css" type="text/css"/>
	<link rel="stylesheet" href="../css/reset.css" type="text/css"/>
	<link rel="stylesheet" href="../css/interface.css" type="text/css" />
	<link rel="stylesheet" href="../css/font-awesome.min.css" type="text/css"/>
	<link rel="stylesheet" href="../css/font-awesome.min.css" type="text/css"/>
	
	<!--[if lt IE 9]>
	<script src="/static/scripts/ie/html5shiv.js" cache="false"></script>
	<script src="/static/scripts/ie/respond.min.js" cache="false"></script>
	<script src="/static/scripts/ie/excanvas.js" cache="false"></script>
	<![endif]-->
	
	<script src="../js/jquery.min.js"></script>
	<script src="../js/common.js"></script>
	<script src="../js/jquery.form.js"></script>
	<script src="../js/jquery.pjax.js"></script>
	<script src="../js/jquery.cookie.js" type="text/javascript"></script>
	<script src="../js/jsonformat.js" type="text/javascript"></script>
	<script src="../js/jquery.md5.js" type="text/javascript"></script>
	
	<link href="../css/showloading.css" rel="stylesheet" type="text/css" />
	<script src="../js/jquery.showloading.min.js" type="text/javascript"></script>
	
	<!-- Bootstrap -->
	<script src="../js/bootstrap.min.js"></script>
	
	<script src="../index.js" type="text/javascript"></script>
	
	<!-- GLOBAL ASSETS END@-->
	<!-- USER DEFINED ASSETS -->
	<!-- USER DEFINED ASSETS END@-->
	<title>接口调试</title>
</head>
<body>
<!-- .vbox -->
<section class="vbox">


			<section class="vbox">
      			<section id="content" class="content-reset">

					<section class="scrollable wrapper-sm R">
				
					    <section>
				
					        <section class="wrapper-right col-sm-12 p-left-0">
					            <div class="wrapper-right-infomation"></div>
					            <div class="wrapper-right-content default-hidden">
						            <p class="h4">请求地址</p>
						            <div class="line line-sm"></div>
						            
					                <div class="input-group"><!--value="http://172.51.97.106:8000/lilac/api/advert/applyHomeAdvertising"-->
					                    <input type="text" name="api_url" class="form-control api-url" 
										 value="http://101.201.208.75:8080/lilac/api/advert/applyHomeAdvertising" disabled="disabled" />
					                    <div class="input-group-btn">
					                        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span id="api_method">POST</span> <span class="caret"></span></button>
					                        <ul class="dropdown-menu pull-right">
					                            <li><a href="javascript:;" class="api-method">POST</a></li>
					                            <li><a href="javascript:;" class="api-method">GET</a></li>
					                        </ul>
					                    </div>
					                </div>
						            
						            <div class="padder-v">
						                <p class="h4">注解<span class="api-test-memo-stretch pull-right" title="点击展开或收缩">[+]</span></p>
						                <div class="line line-sm"></div>
						                <p class="memo-request">
											申请首页推广
										</p>
						            </div>
						            
						            <form name="apiTestForm" id="api_test_form" method="post" action="http://101.201.208.75:8080/lilac/api/advert/applyHomeAdvertising" enctype="multipart/form-data">
						                <div id="params_panel">
						                    <p class="h4">参数列表</p>
						                    <div class="line line-sm"></div>
						                    <ul id="para_list_fixed" class="para-list">

												<li m="POST">
													<p class="p-param-name">
														<input type="text" class="form-control para-name" value="courseId" disabled="disabled" />
													</p>
													<p class="p-param-symbol">&nbsp;=&nbsp;</p>
													<p class="p-param-value">
														<input type="text" class="form-control para-value" name="courseId" value = "" />
													</p>
													<p class="p-para-type" title="" >(Integer<span class="para-memo">：课程ID</span>)</p>
												</li>

												<li m="POST">
													<p class="p-param-name">
														<input type="text" class="form-control para-name" value="advertBeginTime" disabled="disabled" />
													</p>
													<p class="p-param-symbol">&nbsp;=&nbsp;</p>
													<p class="p-param-value">
														<input type="text" class="form-control para-value" name="advertBeginTime" value = "" />
													</p>
													<p class="p-para-type" title="" >(Date<span class="para-memo">：推广开始时间</span>)</p>
												</li>

												<li m="POST">
													<p class="p-param-name">
														<input type="text" class="form-control para-name" value="advertEndTime" disabled="disabled" />
													</p>
													<p class="p-param-symbol">&nbsp;=&nbsp;</p>
													<p class="p-param-value">
														<input type="text" class="form-control para-value" name="advertEndTime" value = "" />
													</p>
													<p class="p-para-type" title="" >(Date<span class="para-memo">：推广结束</span>)</p>
												</li>

												<li m="POST">
													<p class="p-param-name">
														<input type="text" class="form-control para-name" value="advertCostId" disabled="disabled" />
													</p>
													<p class="p-param-symbol">&nbsp;=&nbsp;</p>
													<p class="p-param-value">
														<input type="text" class="form-control para-value" name="advertCostId" value = "" />
													</p>
													<p class="p-para-type" title="" >(Integer<span class="para-memo">：推广类型</span>)</p>
												</li>

												<li m="POST">
													<p class="p-param-name">
														<input type="text" class="form-control para-name" value="payAmount" disabled="disabled" />
													</p>
													<p class="p-param-symbol">&nbsp;=&nbsp;</p>
													<p class="p-param-value">
														<input type="text" class="form-control para-value" name="payAmount" value = "" />
													</p>
													<p class="p-para-type" title="" >(Integer<span class="para-memo">：支付金额</span>)</p>
												</li>

												<li m="POST">
													<p class="p-param-name">
														<input type="text" class="form-control para-name" value="linkType" disabled="disabled" />
													</p>
													<p class="p-param-symbol">&nbsp;=&nbsp;</p>
													<p class="p-param-value">
														<input type="text" class="form-control para-value" name="linkType" value = "" />
													</p>
													<p class="p-para-type" title="" >(Integer<span class="para-memo">：链接详情类型    1、专题课  2、平台广告</span>)</p>
												</li>

												<li m="POST">
													<p class="p-param-name">
														<input type="text" class="form-control para-name" value="appType" disabled="disabled" />
													</p>
													<p class="p-param-symbol">&nbsp;=&nbsp;</p>
													<p class="p-param-value">
														<input type="text" class="form-control para-value" name="appType" value = "" />
													</p>
													<p class="p-para-type" title="" >(Integer<span class="para-memo">：广告应用类型    1、学生端  2、教师端  3、web端</span>)</p>
												</li>

												<li m="POST">
													<p class="p-param-name">
														<input type="text" class="form-control para-name" value="files" disabled="disabled" />
													</p>
													<p class="p-param-symbol">&nbsp;=&nbsp;</p>
													<p class="p-param-value">
														<input type="text" class="form-control para-value" name="files" value = "" />
													</p>
													<p class="p-para-type" title="" >(Object[]<span class="para-memo">：广告图片</span>)</p>
												</li>


											</ul>
						                    <ul id="para_list_shifty" class="para-list"></ul>
						                </div>
						                <div align="center" style="clear:both;line-height:50px;">
						                    <input type="button" id="apitest_submit" class="btn btn-success" value="发送请求" />
						                    <!-- <input type="hidden" name="request_url" value="" />
						                    <input type="hidden" name="request_method" value="" /> -->
						                    <input type="hidden" name="json" id="jsonStr" value="" />
						                    <!-- <input type="hidden" name="group_id" value="" /> -->
						                </div>
						            </form>
						                
						            <section class="apitest-response">
						                <section class="panel panel-default">
						                    <header class="panel-heading">接口地址：</header>
						                    <section class="panel-body apitest-result" id="ar_url"></section>
						                </section>
						                <section class="panel panel-default">
						                    <header class="panel-heading">请求方法：</header>
						                    <section class="panel-body apitest-result" id="ar_method"></section>
						                </section>
						                <section class="panel panel-default">
						                    <header class="panel-heading">请求参数：</header>
						                    <section class="panel-body apitest-result" id="ar_params">
						                        <pre class="brush: js;"></pre>
						                    </section>
						                </section>
						                <section class="panel panel-default">
						                    <header class="panel-heading">返回结果：</header>
						                    <section class="panel-body apitest-result" id="ar_result">
						                        <pre class="brush: js;"></pre>
						                    </section>
						                </section>
						            </section>
					            </div>
					        </section>
					    </section>
					</section>

			    </section>
		    </section>
		    
	       
<script src="../js/hover-dropdown.js" type="text/javascript"></script>
